virtualisation.oci-containers.containers.<name>.imageStream
Path to a script that streams the desired image on standard output.
This option is mainly intended for use with
pkgs.dockerTools.streamLayeredImage so that the intermediate
image archive does not need to be stored in the Nix store. For
larger images this optimization can significantly reduce Nix store
churn compared to using the imageFile option, because you don't
have to store a new copy of the image archive in the Nix store
every time you change the image. Instead, if you stream the image
then you only need to build and store the layers that differ from
the previous image.
- Type
null or package- Default
null- Example
pkgs.dockerTools.streamLayeredImage {...};- Declared
- <nixpkgs/nixos/modules/virtualisation/oci-containers.nix>